<?php
/**
 * Created by PhpStorm.
 * User: Chris
 * Date: 14/12/5
 * Time: 上午9:32
 */


class Controller_Admin_LoginCode extends Controller
{
    public function action_index(){
        Package::load('validcode');
        $validcode = new \Koodev\ValidateCode();
        $validcode->doimg();
        Session::set(SESSION_ADMIN_LOGIN_VERIFY_CODE, $validcode->getCode());


    }

}